package com.kymatrix.kycarbon.xsmd.system.server.model.form.role;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotEmpty;
import lombok.Data;

@ApiModel("新增角色请求")
@Data
public class InsertRoleReq {
    

    @ApiModelProperty(value = "菜单或按钮名称", required = true)
    @NotEmpty(message = "名称不能为空")
    private String name;

    @ApiModelProperty(value = "角色绑定模块id列表")
    private List<String> moduleIdList = new ArrayList<>();


}
